<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	request.setCharacterEncoding("utf-8");
	response.setCharacterEncoding("utf-8");
	//response.setContentType("charset=utf-8;html/text");	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title>登录</title>
    <script src="../js/jquery-3.1.1.min.js"></script>
    <script src="../js/bootstrapValidator.min.js"></script>
    <script type="text/javascript" src="https://raw.githubusercontent.com/loktar00/JQuery-Snowfall/master/src/snowfall.jquery.js"></script>
    <link href="../css/commit.css" rel="stylesheet" type="text/css">
    <link rel="icon" href="../images/icon.jpg" type="image/x-icon">
    <link href="../css/login.css" rel="stylesheet" type="text/css">
    <link href="../css/bootstrap.css" rel="stylesheet" type="text/css">
    <link href="../css/bootstrapValidator.css" rel="stylesheet" type="text/css">
</head>
<body>

<h1>欢迎登录三尾狐酒店</h1>
<!--这里先get请求方便看到请求的数据，后面得改用post，放置暴露数据-->
<form class="form-horizontal" method="post" action="loginyz.jsp">

    <div class="form-group">
        <div class="col-sm-8"></div>
        <span class="tab-menu active"><a href="#">登录</a></span>
        <span class="tab-menu"><a href="regist.jsp">注册</a></span>
    </div>
    <div class="tab-box">
        <div class="a">
            <!--登录页面-->
            <div class="form-group ">
                <label for="username" class="col-sm-2 control-label">用户</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="username" placeholder="请输入账户/手机" name="username">
                </div>
            </div>
            <div class="form-group">
                <label for="password" class="col-sm-2 control-label">密码</label>
                <div class="col-sm-10">
                    <input type="password" class="form-control" id="password" placeholder="请输入密码" name="password">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox">请记住我
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">登录</button>
                </div>
            </div>
        </div>
        <div class="a fide">
            <!--注册页面-->
            <!-- 
            <div class="form-group ">
                <label for="usernames" class="col-sm-2 control-label">用户</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="usernames" placeholder="请输入用户" name="username">
                </div>
            </div>
            <div class="form-group">
                <label for="passwords" class="col-sm-2 control-label">密码</label>
                <div class="col-sm-10">
                    <input type="password" class="form-control" id="passwords" placeholder="请输入密码" name="password">
                </div>
            </div>
            <div class="form-group">
                <label for="passwords" class="col-sm-2 control-label">重复密码</label>
                <div class="col-sm-10">
                    <input type="password" class="form-control" id="passwordss" placeholder="再次输入密码" name="confirmPassword">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">性别</label>
                <div class="col-sm-2">
                    <input type="radio" id="man" name="sex" checked /><label for="man">男</label>
                </div>
                <div class="col-sm-2">
                    <input type="radio" id="won" name="sex"/><label for="won">女</label>
                </div>
            </div>
            <div class="form-group">
                <label for="iphones" class="col-sm-2 control-label">手机</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="iphones" placeholder="请输入手机号" name="iphone">
                </div>
            </div>
            <div class="form-group">
                <label for="relName" class="col-sm-2 control-label">真实姓名</label>
                <div class="col-sm-10">
                    <input type="email" class="form-control" id="relName" placeholder="请输入真实姓名">
                </div>
            </div>
            <div class="form-group">
                <label for="emails" class="col-sm-2 control-label">邮箱</label>
                <div class="col-sm-10">
                    <input type="email" class="form-control" id="emails" placeholder="请输入邮箱" name="email">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">注册</button>
                </div>
            </div>
             -->
        </div>
    </div>

</form>
<script src="../js/login.js"></script>
</body>
</html>